package com.zscat.mallplus.center.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

@Data
public class CenterAppt implements Serializable {
	@TableId(value = "id", type = IdType.AUTO)
	@Excel(name = "编号",width = 10)
	private Long id;
	@Excel(name = "姓名",width = 20)
	private String name;
	@Excel(name = "身份证号码",width = 30)
	private String code;
	@Excel(name = "手机号",width = 30)
	private String phone;
	@Excel(name = "邮箱",width = 40)
	private String email;
	@Excel(name = "预约时间",width = 30,format = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @TableField(exist = false)
    private String beginTime;
    @TableField(exist = false)
    private String endTime;
}
